<div style="clear:both;"> </div>
<div style="margin: 0 auto;overflow: auto;width: 96%;">
<table border="5px;" width="100%">



<tr>
<th>ReportRequestId</th>
<th>ReportType</th>
<th>StartDate</th>
<th>EndDate</th>
<th>SubmittedDate</th>
<th>ReportProcessingStatus</th>
</tr>
<?php 
//echo "<pre>";print_r($this->data);exit;
$i=1;
foreach($this->data['GetReportRequestListResult'][0]['ReportRequestInfo'] as $result){ 
	echo "<tr>";
	echo "<td>";
	echo $i;;
	echo "</td>";
	echo "<td>";
	echo $result['ReportType'];
	echo "</td>";
	echo "<td>";
	echo $result['StartDate'];
	echo "</td>";
	echo "<td>";
	echo $result['EndDate'];
	echo "</td>";
	
	echo "<td>";
	echo $result['SubmittedDate'];
	echo "</td>";
	echo "<td>";
	if($result['ReportProcessingStatus'] == "_DONE_"){
		echo "Done";
	}
	elseif($result['ReportProcessingStatus'] == "_DONE_NO_DATA_"){
		
		echo "Done No Data";
	}
	else {
		
		echo $result['ReportProcessingStatus'];
	}
	echo "</td>";
	
	
	echo "</tr>";
	$i++;	
}


?>

</table>
<a href="<?php echo site_url('systemreports');?>">Next</a>
</div>
